// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeDBInstancesByExpireTimeResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeDBInstancesByExpireTimeResponse::DescribeDBInstancesByExpireTimeResponse() {
}

const string& DescribeDBInstancesByExpireTimeResponse::DBInstanceExpireTime::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

const string& DescribeDBInstancesByExpireTimeResponse::DBInstanceExpireTime::GetDBInstanceDescription(void) const {
  return DBInstanceDescription_;
}

const string& DescribeDBInstancesByExpireTimeResponse::DBInstanceExpireTime::GetExpireTime(void) const {
  return ExpireTime_;
}

const std::vector<DescribeDBInstancesByExpireTimeResponse::DBInstanceExpireTime>& DescribeDBInstancesByExpireTimeResponse::GetItems(void) const {
  return Items_;
}

int DescribeDBInstancesByExpireTimeResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeDBInstancesByExpireTimeResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeDBInstancesByExpireTimeResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeDBInstancesByExpireTimeResponse::BaseKey(void) {
  return "DescribeDBInstancesByExpireTimeResponse";
}

void DescribeDBInstancesByExpireTimeResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeDBInstancesByExpireTimeResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].DBInstanceId_, response_map, "DescribeDBInstancesByExpireTimeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceId");
      UnmarshallerString(Items_[i1].DBInstanceDescription_, response_map, "DescribeDBInstancesByExpireTimeResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceDescription");
      UnmarshallerString(Items_[i1].ExpireTime_, response_map, "DescribeDBInstancesByExpireTimeResponse.Items["+string_ValueOfInt(i1)+"].ExpireTime");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(PageNumber_, response_map, "DescribeDBInstancesByExpireTimeResponse.PageNumber");
  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeDBInstancesByExpireTimeResponse.TotalRecordCount");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeDBInstancesByExpireTimeResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
